* bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
authorKarl Fogel <kfogel@red-bean.com>
Mon, 5 Oct 2009 04:19:04 +0000 (04:19 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Mon, 5 Oct 2009 04:19:04 +0000 (04:19 +0000)
commitf68a93efc9f476c71bca81339c98eaf24fc03c76
tree085f95b58562511cb4a453a6b052d3a1dd801a42
parent9b19a2f0e60319d6f24aa412a253a6dc0aed32d0
* bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
    don't do anything related to relocating, just return nil.
  (bookmark-error-no-filename): New error.
  (bookmark-default-handler): Signal `bookmark-error-no-filename' if
    bookmark has no file.  Don't even attempt to handle things that
    are not files; the whole point of custom handlers is to keep that
    knowledge elsewhere anyway.  Tighten some comments.
  (bookmark-file-or-variation-thereof): Remove now-unused function.
  (bookmark-location): Doc string fix.

(Bug#4250)
lisp/ChangeLog
lisp/bookmark.el